import request from '@/utils/request'
export default {
  // 添加课程安排表
  addTimetable(privateTimetableAddVo) {
    return request({
      url: `/privateTimetable`,
      method: 'post',
      data: privateTimetableAddVo
    })
  },

  // 添加会员卡课时费
  addCardChange(cardVos) {
    return request({
      url: `/classChange/cardClassChange`,
      method: 'post',
      data: cardVos
    })
  },

  // 查询私课课程表
  findTimetable(currentPage,pageSize,timetableQueryVo) {
    return request({
      url: `/privateTimetable/findByPage/${currentPage}/${pageSize}`,
      method: 'post',
      data: timetableQueryVo
    })
  },

  // 删除课程
  deleteTimetable(id) {
    return request({
      url: `/privateTimetable/${id}`,
      method: 'delete',
    })
  },

}
